package com.zlx.rulemk.marketing.beans;

import com.zlx.rulemk.marketing.service.RulelMatchServiceImpl;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Author: zhanglingxing
 * @CreateTime: 2022-07-08
 * @Description: 规则传入kieSession的实体对象【不包含定时规则】
 * @Version: 1.0
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
public class RuleMatchFact {

    // 规则条件封装的类
    private MarketingRule marketingRule;

    //这个规则的server
    private RulelMatchServiceImpl triggerModeRulelMatchService;

    // 日志数据
    private EventBean eventBean;

    // 是否匹配
    private boolean matchResult;

    //触发规则的实体类
    private TimerMatchDroolsFact timerMatchDroolsFact;

}
